source/autoloader/base.d(52,39): Error: cast from `const(TypeInfo_Class)` to `object.TypeInfo_Class` not allowed in safe code /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (2 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("(.)([A-Z][a-z]+)", [])` source/autoloader/util.d(13,22): instantiated from here: `ctRegex!("(.)([A-Z][a-z]+)", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (2 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("(.)([A-Z][a-z]+)", [])` source/autoloader/util.d(13,22): instantiated from here: `ctRegex!("(.)([A-Z][a-z]+)", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(536,41): Error: `@safe` function `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func).CtfeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(472,43): Error: template instance `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("(.)([A-Z][a-z]+)", [])` source/autoloader/util.d(13,22): instantiated from here: `ctRegex!("(.)([A-Z][a-z]+)", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(536,41): Error: `@safe` function `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func).CtfeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(472,43): Error: template instance `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("(.)([0-9]+)", [])` source/autoloader/util.d(14,22): instantiated from here: `ctRegex!("(.)([0-9]+)", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(536,41): Error: `@safe` function `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func).CtfeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(472,43): Error: template instance `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("([a-z0-9])([A-Z])", [])` source/autoloader/util.d(15,22): instantiated from here: `ctRegex!("([a-z0-9])([A-Z])", [])` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.